namespace Zuehlke.Blueprint.Quickstart.Architecture.Domain.Services.Interfaces
{
    /// <summary>
    /// Service to persist customers (within database, file, web server, etc.)
    /// </summary>
    public interface ICustomerPersistencyService
    {
        /// <summary>
        /// Gets the number of available customers.
        /// </summary>
        int GetCustomersCount();

        /// <summary>
        /// Loads the customer on the specified index.
        /// </summary>
        IReadonlyCustomer LoadCustomer(int index);
    }
}